﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace WebInterface
{
    public class JSMessageBox
    {
        public static void ShowMessage(Page page, string Text)
        {
            Literal literal = (Literal)page.Form.FindControl("javaScriptText");
            literal.Text = "alert('" + Text + "')";
        }
    }
}
